package com.ssm.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 日志实体类
 * Created by 墨殇
 * 2017/12/27.
 * @author Administrator
 */
@Table(name = "sys_log")
public class SysLog extends BasePojo implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private Long id;
    //操作人
    private String operationor;
    //用户操作
    private String operation;
    //请求方法
    private String method;
    //请求参数
    private String params;
    //IP地址
    private String ip;
    //备注信息
    private String remark;
    //状态：1表示正常，0表示禁用
    private Integer status;
    //方法是否执行成功：0表示执行失败，1表示执行成功
    private Integer isSuccess;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperationor() {
        return operationor;
    }

    public void setOperationor(String operationor) {
        this.operationor = operationor;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(Integer isSuccess) {
        this.isSuccess = isSuccess;
    }
}


